﻿@model Tasks.UI.Models.Account.ModifyPasswordModel
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>密码修改</title>
    <link href="@Config.GetCssResourcePath("main.css")" rel="stylesheet" type="text/css" />
    <link href="@Config.GetCssResourcePath("table.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/global.js")" type="text/javascript"></script>
</head>
<body>
    @using (Html.BeginForm("ModifyPassword", "Account", FormMethod.Post))
    {
        @Html.OutputMessage(Model.Message, Model.MessageType)
        
        <div>@Html.HiddenFor(m => m.UserID)
            <div class="editor-label">
                旧密码:
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.OldPassword)
            </div>
            <div class="editor-label">
                新密码:
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.NewPassword)
            </div>
            <div class="editor-label">
                确认密码:
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.ConfirmPassword)
            </div>
            <p>
                <input class="large_button" type="submit" value="确认" />
            </p>
        </div>
    }
</body>
</html>
